import request from '@/utils/request'
import { getValue } from '@/utils/auth'
const tenantCode = getValue('tenantCode') || 'T000010'

// 品种列表
export const breedList = (params) => {
  return request({
    method: 'GET',
    url: '/agri/api/common/businessData/queryList4Amis',///agri/api/common/agriProductBreed/queryList
    params: {
      tenantCode,
      ...params
    }
  })
}

// 供需列表
export const sheepSupplyList = (params) => {
  return request({
    method: 'GET',
    url: '/agri/api/yzbzh/sheepSupplyAndDemand/queryListPage',
    params: {
       tenantCode,
      queryDataType: 1,
      // shield: 0,
      subjectInfoId: getValue('subjectInfoId') || 1,

      ...params
    }
  })
}
